#include "GO_M8010.h"

MOTOR_send GO_Cmd;
MOTOR_recv GO_Data;

void go_m8010_init(MOTOR_send* cmd,UART_HandleTypeDef * huart)
{
     cmd->huart=huart;
     cmd->id=0;
	 cmd->mode=1;
	 cmd->T=0;
	 cmd->W=20;
	 cmd->Pos=0;
	 cmd->K_P=0;
	 cmd->K_W=0.05;
}